singleThreadDispatcher

common
fun singleThreadDispatcher(id: String): CoroutineDispatcher

Returns a default Realm write dispatcher for a Realm opened on the calling thread.

fun singleThreadDispatcher(id: String): CoroutineDispatcher
fun singleThreadDispatcher(id: String): CoroutineDispatcher
fun singleThreadDispatcher(id: String): CoroutineDispatcher
fun singleThreadDispatcher(id: String): CoroutineDispatcher
fun singleThreadDispatcher(id: String): CoroutineDispatcher

The default dispatcher for Darwin platforms spawns a new thread with a run loop.